package com.kx.game.center.redis;

public class RedisConstant {

    /**
     * REDIS状态
     */
    public static final String REDIS_DATA = "REDIS_DATA";

    /**
     * 用户信息
     */
    public static final String USER_INFO = "USER_INFO";

    /**
     * key地区 values玩家
     */
    public static final String REGION_USER = "REGION_USER";

    /**
     * key邀请码 value玩家userId
     */
    public static final String FRIEND_CODE = "FRIEND_CODE";

    /**
     * key values在线玩家
     */
    public static final String ONLINE_USER = "ONLINE_USER";

    /**
     * 玩家登陆服务器
     */
    public static final String SERVER_LOGIN = "SERVER_LOGIN"; //key userid value serverid

    /**
     * 服务器创建人数
     */
    public static final String SERVER_CREATE_NUM = "SERVER_CREATE_NUM"; //key serverId value num

    /**
     * 游戏服服务器负载
     */
    public static final String GAME_SERVER_LOAD = "GAME_SERVER_LOAD"; //key serverid count

    /**
     * 游戏服务器列表
     */
    public static final String GAME_SERVER_LIST = "GAME_SERVER_LIST"; //key serverid value ip port

    /**
     * 网关列表
     */
    public static final String GATEWAY_LIST = "GATEWAY_LIST"; //key id ip port

    /**
     * 网关负载
     */
    public static final String GATEWAY_LOAD = "GATEWAY_LOAD"; //key id count

}
